﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="ChooseRound.aspx.cs" Inherits="ProjectSem40701.Admin.ChooseRound" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="title" runat="server">
    <title>Báo cáo kết quả vòng thi</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <!--
        set tab active here
     -->
    <script type="text/javascript" language="javascript">
        setTab(document.getElementById("7"));
    </script>
    <!--
        end set tab active
     -->
     <div id="box">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>      
        <h3>Báo cáo kết quả vòng thi</h3>
        <fieldset class="fieldset">
            <legend>
                Chọn vòng thi
            </legend>
            <p>
                <label>Chọn kỳ thi</label>
                <asp:DropDownList ID="cbbExam" Width="150px" runat="server" AutoPostBack="True" 
                    DataSourceID="ObjectDataSource1" DataTextField="ExamName" 
                    DataValueField="ExamID" onselectedindexchanged="cbbExam_SelectedIndexChanged">
                </asp:DropDownList>
                <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
                    OldValuesParameterFormatString="original_{0}" 
                    SelectMethod="Get_tbl_Exam_Select_All" 
                    TypeName="ProjectSem40701.Admin.AdminXSD.ExamTableAdapters.tbl_ExamTableAdapter">
                </asp:ObjectDataSource>
            </p>
            <p>
                <label>Chọn vòng thi</label>
                <asp:DropDownList ID="cbbRound" runat="server" Width="150px" 
                    AutoPostBack="True" DataSourceID="ObjectDataSource2" DataTextField="RoundName" 
                    DataValueField="RoundID">
                </asp:DropDownList>
                <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" 
                    OldValuesParameterFormatString="original_{0}" 
                    SelectMethod="Get_tbl_Round_Select_All_By_ExamID" 
                    TypeName="ProjectSem40701.Admin.AdminXSD.RoundTableAdapters.tbl_RoundTableAdapter">
                    <SelectParameters>
                        <asp:ControlParameter ControlID="cbbExam" Name="exid" 
                            PropertyName="SelectedValue" Type="Int32" />
                    </SelectParameters>
                </asp:ObjectDataSource>
            </p>
            <div align="center">
                <asp:Button ID="btnSubmit" runat="server" Text="Xem" CssClass="button" 
                    onclick="btnSubmit_Click" />
            </div>
            
        </fieldset>
    </div>
</asp:Content>
